package com.yex.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.yex.entity.InvestmentLogEntity;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * 报单订单分享 log
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2019-01-09 10:32:25
 */
public interface InvestmentLogDao extends BaseMapper<InvestmentLogEntity> {

    BigDecimal selectInvestmentTotal(@Param("investmentId") Integer investmentId,@Param("userId") Integer userId);

    BigDecimal selectIntroUserTotal(@Param("userId")Integer userId);

    BigDecimal selectIntroDownTotal(@Param("userId")Integer userId);

    BigDecimal selectIntroTotal(@Param("userId")Integer userId);
}
